<?php

namespace App\Models\Cashier;

use Illuminate\Database\Eloquent\Model;

class Sale extends Model
{
    protected $guarded = [];

    public function member()
    {
        return $this->belongsTo('App\Models\Cashier\Member');
    }

    public function sale_products()
    {
        return $this->hasMany('App\Models\Cashier\SaleProduct');
    }

    public function store()
    {
        return $this->belongsTo('App\Models\Cashier\Store');
    }
}
